package com.xing.libao.thread;

/**
 * Created with IntelliJ IDEA.
 * User: xingzhe
 * Date: 2015/9/14
 * Time: 14:57
 */
public class Main {
    public static void main(String[] args) {
        final Sequ sequ = new Sequ(10000);
        for (int i = 0; i < 10001; i++) {
            new Thread(new Runnable() {
                @Override
                public void run() {
                    sequ.pv();
                }
            }).start();
        }
        System.out.println(sequ.getValue());
    }
}
